package com.hermes.biz.service.user;

import java.util.List;

import com.hermes.biz.common.model.result.UserCommentResultDO;
import com.hermes.biz.common.model.user.UserCommentDO;

public interface UserCommentService {



	/**
	 * 
	 * @param userCommentDO
	 */
	public void saveUserCommentInfo(UserCommentDO  userCommentDO);
	
	/**
	 *
	 * @param userId
	 * @return`
	 */
	public List<UserCommentDO> getUserCommentInfo(long userId);
	
	/**
	 *
	 * @param userId
	 * @return
	 */
	public List<UserCommentDO> getUserCommentInfoByItemId(long itemId);
	
	/**
	 *
	 * @param userId
	 * @return
	 */
	public List<UserCommentDO> getUserCommentInfoByItemIdV2(long itemId);
	
	/**
	 *
	 * @param commentId
	 * @return
	 */
	public UserCommentResultDO getUserCommentInfoByCommentId(long commentId);
	
	/**
	 *
	 * @param userId
	 */
	public void deleteUserCommentInfo(long userId);
	
	/**
	 *
	 * @param commentId
	 */
	public void deleteUserCommentInfoByCommentId(long commentId);
	
	public void deleteUserCommentInfoByitemId(long itemId) ;

}
